package com.button.boot.banner;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringBootBannerApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(SpringBootBannerApplication.class);
//        springApplication.setBannerMode(Banner.Mode.OFF);   //关闭banner打印
        springApplication.setBannerMode(Banner.Mode.CONSOLE);   //控制台打印
//        springApplication.setBannerMode(Banner.Mode.LOG);   //log打印
        springApplication.run(args);
    }
}
